﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace RRSimulator.BlobManager.Service
{
    [ServiceContract]
    public interface IAuthenticationService
    {
        [OperationContract]
        string TestAuthCustomOperation(string test);

        [OperationContract]
        bool Login(string username, string password, string customCredential, bool isPersistent);

        [OperationContract]
        void Logout();

        [OperationContract]
        bool ValidateUser(string username, string password, string customCredential);

        [OperationContract]
        bool IsLoggedIn();
    }
}
